<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/3/26
  Time: 17:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>未面试的应聘者信息</title>
    <script src="../../script/jquery-3.2.1.js" type="text/javascript"></script>
    <style type="text/css">
        #myTable th{
            width: 99px;
        }
        #myTable td{
            text-align: center;
        }
    </style>
</head>
<body>

<table cellpadding="0" cellspacing="0" border="1px" id="myTable" style="margin: 66px 20%">
    <thead>
    <tr>
        <th colspan="7">应聘信息</th>
    </tr>
    <tr>
        <th>编号</th>
        <th>投递人</th>
        <th>投递时间</th>
        <th>是否查看</th>
        <th>是否面试</th>
        <th>面试时间</th>
        <th>是否录用</th>
    </tr>
    </thead>
    <tbody>
    <c:if test="${empty applyNotInterview}">
        <tr>
            <td colspan="7">还没有应聘消息</td>
        </tr>
    </c:if>
    <c:if test="${not empty applyNotInterview}">
        <c:forEach var="ani" items="${applyNotInterview}">
            <tr>
                <td>${ani.id}</td>
                <td>${ani.resume.realName}</td>
                <td><f:formatDate value="${ani.postTime}" pattern="yyyy.MM.dd"/> </td>
                <td>${ani.looked == 1 ? "已查看":"未查看"}</td>
                <td>${ani.isInterview == 1 ? "已面试":"请按时面试"}</td>
                <td><f:formatDate value="${ani.interviewDate}" pattern="yyyy.MM.dd"/> </td>
                <td>
                    <c:if test="${ani.isEmploy == -1}">
                        未被录用
                    </c:if>
                    <c:if test="${ani.isEmploy == 0}">
                        待面试
                    </c:if>
                    <c:if test="${ani.isEmploy == 1}">
                        已录用
                    </c:if>
                </td>
            </tr>
        </c:forEach>
    </c:if>
    </tbody>
</table>

</body>
</html>
